﻿using B.S.Filtration.ErrorCode;
using MediatR;

namespace B.S.Filtration.Write.Api.Application.Command.到货检验.PurchaseInfoCommand
{
    public class AddPurchaseInfoCommand : IRequest<APIResult<object>>
    {
        /// <summary>
        /// 物品编码
        /// </summary>
        public string ItemCode { get; set; }
        /// <summary>
        /// 物品名称
        /// </summary>
        public string ItemName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string SpecificationModel { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand { get; set; }
        /// <summary>
        /// 采购数量
        /// </summary>
        public int PurchaseQuantity { get; set; }
        /// <summary>
        /// 检验类型（如“免检”“抽检”“全检”）
        /// </summary>
        public string InspectionType { get; set; }
        /// <summary>
        /// 收货数量
        /// </summary>
        public int ReceivedQuantity { get; set; }
        /// <summary>
        /// 检验数量
        /// </summary>
        public int InspectionQuantity { get; set; }
        /// <summary>
        /// 合格数量
        /// </summary>
        public int Qualifiedquantity { get; set; }
        /// <summary>
        ///  可入库数量
        /// </summary>
        public int InboundQuantity { get; set; }
        /// <summary>
        /// 退货数量
        /// </summary>
        public int ReturnQuantity { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        public int BasicInfoid { get; set; }
        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDel { get; set; }
    }
}
